﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BusinessEntity;
using  BusinessService;

namespace BusinessLogic
{
   public class MaintainManager
    {
       MaintainService ms = new MaintainService();
        public int AddNew(MaintainStatus model)
        {
            return ms.AddNew(model);
        }

        public bool Delete(int id)
        {
            return ms.Delete(id);
        }

        public bool Update(MaintainStatus model)
        {
            return ms.Update(model);
        }

        public MaintainStatus Get(int id)
        {
            return ms.Get(id);
        }

        public IEnumerable<MaintainStatus> ListAll()
        {
            return ms.ListAll();
        }
    }
}
